from django.urls import path
from . import views


app_name = "news"
urlpatterns = [
    path('news/', views.get_news_list),
    path('news/<int:news_id>/', views.get_news_detail, name="news_detail"),
    path('news/banner/', views.get_banner),
    path('news/<int:news_id>/comments/', views.get_comment),
    path('news/search/', views.Search(), name="search"),

]